package com.hu.pk.patroller.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 巡检
 * </p>
 *
 * @author Hu
 * @since 2022-07-20
 */
@Getter
@Setter
@ApiModel(value = "Patroller对象", description = "巡检")
public class Patroller implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("巡检员编号")
      @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("路段id")
      private Long roadId;

      @ApiModelProperty("电话号码")
      private String telephone;

      @ApiModelProperty("密码")
      private String password;

      @ApiModelProperty("状态")
      private String status;

      @ApiModelProperty("名字")
      private String name;


}
